package router

import (
	"gin-vue-admin/api/v1"
	"gin-vue-admin/middleware"
	"github.com/gin-gonic/gin"
)

func InitSysCaipiaoNumbersRouter(Router *gin.RouterGroup) {
	SysCaipiaoNumbersRouter := Router.Group("sysCaipiaoNumbers").Use(middleware.OperationRecord())
	{
		SysCaipiaoNumbersRouter.POST("createSysCaipiaoNumbers", v1.CreateSysCaipiaoNumbers)   // 新建SysCaipiaoNumbers
		SysCaipiaoNumbersRouter.DELETE("deleteSysCaipiaoNumbers", v1.DeleteSysCaipiaoNumbers) // 删除SysCaipiaoNumbers
		SysCaipiaoNumbersRouter.DELETE("deleteSysCaipiaoNumbersByIds", v1.DeleteSysCaipiaoNumbersByIds) // 批量删除SysCaipiaoNumbers
		SysCaipiaoNumbersRouter.PUT("updateSysCaipiaoNumbers", v1.UpdateSysCaipiaoNumbers)    // 更新SysCaipiaoNumbers
		SysCaipiaoNumbersRouter.GET("findSysCaipiaoNumbers", v1.FindSysCaipiaoNumbers)        // 根据ID获取SysCaipiaoNumbers
		SysCaipiaoNumbersRouter.GET("getSysCaipiaoNumbersList", v1.GetSysCaipiaoNumbersList)  // 获取SysCaipiaoNumbers列表
		SysCaipiaoNumbersRouter.GET("GetLengSysCaipiaoNumbers", v1.GetLengSysCaipiaoNumbers)  // 获取当前的冷热数据排行榜
	}
}
